import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter_socket_server/platform_util.dart';
import 'package:flutter/material.dart' hide Router;
import 'package:get/get.dart' hide Response, FormData, MultipartFile;


class ChatController extends GetxController {
  ChatController() {}

  // 本机的ip地址列表
  List<String> addrs = [];

  Map<String, int> dirItemMap = {};
  List<Map<String, dynamic>> cache = [];
  // 消息服务器成功绑定的端口
  int messageBindPort = 1997;
  // 文件服务器成功绑定的端口

  ValueNotifier<bool> connectState = ValueNotifier(false);

}
